<%--
$Id: admin-index.jsp 19 2011-06-11 04:06:06Z feigme $
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ include file="/WEB-INF/jsp/commons/taglibs.jsp" %>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Admin Login</title>
	<link href="${ctx }/css/admin/admin.css" rel="stylesheet" type="text/css" />
</head>
<body>
<br/>
	<table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center" border="0">
        <tr>
            <th colspan="2">当前账号</th>
        </tr>
        <tr>
            <td class="usertablerow1" align="right" width="11%"><strong>账号名</strong></td>
            <td class="usertablerow1" width="89%"><sec:authentication property="name"/></td>
        </tr>
        <tr>
            <td class="usertablerow2" align="right" width="11%"><strong>角色</strong></td>
            <td class="usertablerow2" width="89%">
            	<sec:authentication property="authorities" var="authorities" scope="page"/>  
				<c:forEach items="${authorities}" var="authority">  
  					${authority.authority}  
				</c:forEach>
			</td>
        </tr>
    </table>
<br/>
</body>
</html>